package com.leyou.trade.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FeignConfig {
    @Bean
    Logger.Level feignLoggerLevel(){
        return Logger.Level.FULL;
        /**
         * feign的日志输出格式4中
         * full 全部输出
         * 默认为 none
         *
         * basic
         *
         * header
         */
    }
}